package com.vilicode.mapper;

import com.vilicode.bean.Post;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface PostMapper {


    public int queryCountOfPosts();
    public List<Post> queryPosts(int pageIndex, int pageSize);
    public Post queryPostById(int bid);

}
